<?php

/**
 * Stellt ein Ergebnis dar,
 *
 * @author Timo
 */
class Result {
    private $driver_id      = -1;
    private $team_id        = -1;
    private $position       = -1;
    private $start_position = -1;
    private $pitstops       = 0;
    private $finishStatus   = "DNF";
    
    public function SetDriverID($id)
    {
        $this->driver_id = $id;
    }
    
    public function SetTeamID($id)
    {
        $this->team_id = $id;
    }
    
    public function SetPosition($pos)
    {
        $this->position = $pos;
    }
    
    public function SetStartPosition($pos)
    {
        $this->start_position = $pos;
    }
    
    public function SetStatus($status)
    {
        $this->finishStatus = $status;
    }
    
    public function SetPitstops($stops)
    {
        $this->pitstops = $stops;
    }
    
    public function GetTeamID()
    {
        return $this->team_id;
    }
}

?>
